<?php
    if(isset($arr_Duplicate))
    {
        $this->data =  $arr_Duplicate;
    }
?>
<fieldset>
    <legend><h3>Thêm người dùng mới</h3></legend>
    <br />
    <a href ="/admin/nguoidungs/">Trở về trang Index</a>
    <br />
    <?php echo $this->Form->create("Nguoidung"); ?>
    <?php echo $this->element('message'); ?>
    <div class="boxSearch">
        <div class="row_mexu">
            <span style="width: 110px;" class="txt_mexu">Tên đầy đủ <span style="color: red">*</span></span>
            <span class="input_mexu">
                <?php echo $this->Form->input( "tendaydu", array(
                                            "label" => false,
                                            "type"  => "text",
                                            "style" =>  "width:200px;",
                                            "placeholder" => "Tên đầy đủ"
                                    ) ); ?>
            </span>
        </div>
        <div class="row_mexu">
            <span style="width: 110px;" class="txt_mexu">Tên đăng nhập <span style="color: red">*</span></span>
            <span class="input_mexu">
                <?php echo $this->Form->input( "tendangnhap", array(
                                            "label" => false,
                                            "type"  => "text",
                                            "style" =>  "width:200px;",
                                            "placeholder" => "Tên đăng nhập"
                                    ) ); ?>
            </span>
        </div>
        <div class="row_mexu">
            <span style="width: 110px;" class="txt_mexu">Mật khẩu <span style="color: red">*</span></span>
            <span class="input_mexu">
                 <?php echo $this->Form->input( "matkhau", array(
                        "label" => false,
                        "type"  => "password",
                        "style" =>  "width:200px;",
                        "placeholder" => "Mật khẩu"
                ) ); ?>
            </span>
        </div>
        <div class="row_mexu">
            <span style="width: 110px;" class="txt_mexu">Xác nhận <span style="color: red">*</span></span>
            <span class="input_mexu">
                 <?php echo $this->Form->input( "xacnhanmatkhau", array(
                        "label" => false,
                        "type"  => "password",
                        "style" =>  "width:200px;",
                        "placeholder" => "Xác nhận mật khẩu"
                ) ); ?>
            </span>
        </div>
        <div class="row_mexu">
            <span style="width: 110px;" class="txt_mexu">Email</span>
            <span class="input_mexu">
                 <?php echo $this->Form->input( "email", array(
                        "label" => false,
                        "type"  => "text",
                        "style" =>  "width:200px;",
                        "placeholder" => "Địa chỉ email"
                ));?>
            </span>
        </div>
        <div class="row_mexu">
            <span style="width: 110px;" class="txt_mexu">Di động</span>
            <span class="input_mexu">
                 <?php echo $this->Form->input( "didong", array(
                    "label" => false,
                                                "type"  => "text",
                                                "style" =>  "width:200px;",
                                                "placeholder" => "Số điện thoại"
                ) ); ?>
            </span>
        </div>
        <div class="row_mexu">
            <span style="width: 110px;" class="txt_mexu">&nbsp;&nbsp;</span>
            <span class="input_mexu">
                 <input type="submit" class="button" value="Thêm"/>
            </span>
        </div>
        <div class="clear"></div>
    </div>
    <?php echo $this->Form->end(); ?>
</fieldset>